import { Component } from 'vue-facing-decorator'
import toNative from '@/utils/toNative'
import InsuranceCompany from './insurance-company/Index'
import EmailRule from './email-rule/Index'
import TabsRender from '@/render/TabsRender'


@Component
export class RulesCenter extends TabsRender {
    tabs = {
        '1': {
            title: '保司规则',
            component: <InsuranceCompany />
        },
        '2': {
            title: '推送规则',
            component: <EmailRule />
        },
        // '3': {
        //     title: '批量上传',
        //     component: <BatchUpload />
        // }
    }
}

export default toNative<{}, {}>(RulesCenter)
